package top.songxs.gmall.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "app.minio")
public class MinioProperties {
    //  app:
    //    minio:
    //      endpoint: http://minio.songxs.top:9000
    //      accessKey: admin
    //      secretKey: admin123456
    //      bucketName: gmall
    private String endpoint;
    private String accessKey;
    private String secretKey;
    private String bucketName;

}
